< previous page page_109 next page >

Page 109
If your application has only one or two menu options, this might be acceptable to you; however, if you have many different menu items, the menu bar will run out of space. What you really need to do is set up a menu that uses multiple levels to display multiple menu items. When you click the menu item on the menu bar, the first level of the menu drops down (see Figure 4.20). This level is called a submenu.
12181-0109a.gif
Figure 4.20.
Multiple levels of a menu item allow
for many options in a small amount of
menu space.
Indenting items on the menu is very easy to do. In the selection area of the Menu Editor, select the item you want to indent and then click the right arrow button directly above the selection list. This indents the item one level (see Figure 4.21) and tells Visual Basic that the item is now part of a submenu for the main item above it. To show you that it's indented, four spaces are added to the beginning of the item's Caption.
12181-0109b.gif
Figure 4.21.
When indenting menu items, the Menu
Editor visually identifies the level of the
item.
When you're entering new items, at a certain level each one is automatically indented to the level of the item above it in the selection list. To move a menu item up a level, click the left arrow button.

 
< previous page page_109 next page >

If you like this book, buy it!